package com.zoespeer.food_delivery_comment_api.vo;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

@Data
public class PublishCommandRequestVO {
    @NotNull(message = "餐厅ID不能为空")
    private Integer canteenId;

    @NotNull(message = "评分不能为空")
    private Double score;

    @NotBlank(message = "评论内容不能为空")
    private String content;
}